<!-- 棋行 -->
<script>
    import Pieces from './Pieces.vue'
    export default {
        name: "MapRow",
        props: ["rowInfo",'x'],
        components: { Pieces },
        methods:{
            
        }
    }
</script>
<template>
    <div id="rowkj" >
        <Pieces v-for="(e,i) in rowInfo" :key="`行${x}列${i}`" :piecesInfo="e" :x="x" :y="i" />
    </div>
</template>

<style scoped>
    #rowkj{
        line-height: 0;
    }
  
</style>